package factory.staticFactory;

import factory.Sender;

/**
 * 静态工厂
 * @author Administrator
 *
 */
public class Test {
	public static void main(String[] args) {
		Sender sms = SenderFactory.getSmsSender();
		sms.send();
		
		Sender mail = SenderFactory.getMailSender();
		mail.send();
	}
}
